import fetch from '@/utils/fetch'

export default {

  async index(data) {
    return await fetch({
      url: '/contact/',
      method: 'post',
      data,
    })
  },

  async save(data) {
    return await fetch({
      url: '/contact/save',
      method: 'post',
      data,
    })
  },

  async remove(data) {
    return await fetch({
      url: '/contact/remove',
      method: 'post',
      data,
    })
  }
}

